package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Fative)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:16:26
 */
@ApiModel(value = "助力活动实体类")
public class Fative implements Serializable {
    private static final long serialVersionUID = 638537709806230637L;
    /**
     * 助力活动id
     */
    @ApiModelProperty(name = "factiveId",notes = "助力活动id",required = false,value = "助力活动id")
    private Integer factiveId;
    /**
     * 已秒数量
     */
    @ApiModelProperty(name = "snapNum",notes = "已秒数量",required = true,value = "已秒数量")
    private Integer snapNum;
    /**
     * 助力状态（1：进行中 0：结束 2：未开始 3：进行中已售空）
     */
    @ApiModelProperty(name = "factiveStatu",notes = "助力状态（1：进行中 0：结束 2：未开始 3：进行中已售空）",required = false,value = "助力状态（1：进行中 0：结束 2：未开始 3：进行中已售空）")
    private Integer factiveStatu;
    /**
     * 商品id（外键）
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id（外键）",required = false,value = "商品id（外键）")
    private Integer goodsId;
    /**
     * 助力人数
     */
    @ApiModelProperty(name = "fativeNum",notes = "助力人数",required = true,value = "助力人数")
    private Integer fativeNum;
    /**
     * 助力库存
     */
    @ApiModelProperty(name = "fativeIntv",notes = "助力库存",required = true,value = "助力库存")
    private Integer fativeIntv;
    /**
     * 活动开启时间
     */
    @ApiModelProperty(name = "fativeStart",notes = "活动开启时间",required = false,value = "活动开启时间")
    private Date fativeStart;
    /**
     * 活动结束时间
     */
    @ApiModelProperty(name = "fativeLast",notes = "活动结束时间",required = false,value = "活动结束时间")
    private Date fativeLast;
    /**
     * 操作状态（1：正常 0：已删除）
     */
    @ApiModelProperty(name = "operStatu",notes = "操作状态（1：正常 0：已删除）",required = false,value = "操作状态（1：正常 0：已删除）")
    private Integer operStatu;


    @ApiModelProperty(name = "goods",notes = "商品实体类",required = false,value = "商品实体类")
    private Goods goods ;


    public Integer getFactiveId() {
        return factiveId;
    }

    public void setFactiveId(Integer factiveId) {
        this.factiveId = factiveId;
    }

    public Integer getSnapNum() {
        return snapNum;
    }

    public void setSnapNum(Integer snapNum) {
        this.snapNum = snapNum;
    }

    public Integer getFactiveStatu() {
        return factiveStatu;
    }

    public void setFactiveStatu(Integer factiveStatu) {
        this.factiveStatu = factiveStatu;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getFativeNum() {
        return fativeNum;
    }

    public void setFativeNum(Integer fativeNum) {
        this.fativeNum = fativeNum;
    }

    public Integer getFativeIntv() {
        return fativeIntv;
    }

    public void setFativeIntv(Integer fativeIntv) {
        this.fativeIntv = fativeIntv;
    }

    public Date getFativeStart() {
        return fativeStart;
    }

    public void setFativeStart(Date fativeStart) {
        this.fativeStart = fativeStart;
    }

    public Date getFativeLast() {
        return fativeLast;
    }

    public void setFativeLast(Date fativeLast) {
        this.fativeLast = fativeLast;
    }

    public Integer getOperStatu() {
        return operStatu;
    }

    public void setOperStatu(Integer operStatu) {
        this.operStatu = operStatu;
    }


    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "Fative{" +
                "factiveId=" + factiveId +
                ", snapNum=" + snapNum +
                ", factiveStatu=" + factiveStatu +
                ", goodsId=" + goodsId +
                ", fativeNum=" + fativeNum +
                ", fativeIntv=" + fativeIntv +
                ", fativeStart=" + fativeStart +
                ", fativeLast=" + fativeLast +
                ", operStatu=" + operStatu +
                ", goods=" + goods +
                '}';
    }
}